package backend

type CommonPaginationReq struct {
	Page  int `json:"page" in:"query" d:"1"  v:"min:0#分页号码错误"     dc:"分页号码，默认1"`
	Limit int `json:"limit" in:"query" d:"10" v:"max:50#分页数量最大50条" dc:"分页数量，最大50"`
}

type CommonPaginationRes struct {
	Count int `json:"count" dc:"总数"`
}

type CommonXmSelectRes struct {
	Name     string `json:"name" dc:"名称"`
	Value    string `json:"value" dc:"值"`
	Selected bool   `json:"selected" dc:"是否选中"`
}
